﻿using EFAPI.Model;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace EFAPI.Data
{
    public class MyDbContext : DbContext
    {
        public MyDbContext(DbContextOptions options) :base(options)
        {

        }

        public DbSet<TodoItem> TodoItems { get; set; }
    }
}
